package top.lcm889.demo.动态代理.jdk;

/**
 * @author Coder-lcm
 * @date 2021/2/21
 */
public class test {
    public static void main(String[] args) {
        HelloServiceProxy handler = new HelloServiceProxy();
        HelloService proxy = (HelloService) handler.bind(new HelloServiceImpl());
        proxy.sayHello("lisi");
    }
}
